/**
 * 
 */
package lt.vin.exaatto.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author Vincentas
 *
 */
public class RetryPanel extends Composite {

	private static RetryPanelUiBinder uiBinder = GWT.create(RetryPanelUiBinder.class);

	interface RetryPanelUiBinder extends UiBinder<Widget, RetryPanel> {
	}

	@UiField
	Label secondsLeft;
	
	public RetryPanel() {
		initWidget(uiBinder.createAndBindUi(this));
	}
	
	public void setTimeLeft(int seconds) {
		secondsLeft.setText(Integer.toString(seconds));
	}

}
